package com.ruoyi.carApi.init;

import com.ruoyi.carApi.api.IPlateCallback;
import com.ruoyi.carApi.api.JNADll;

/**
 * @Author: wwy
 * @Date: 2021/6/22 10:13
 */
public class ApiInit {
    /**
     * 全局加载对象，初始化一次
     */
    public static JNADll ICESDKInstance;
    /**
     * 初始化，返回全局对象
     * @return
     */
    public static void init(){
        //一个项目初始化一次
        if(ICESDKInstance == null){
            //初始化
            JNADll.ICESDKInstance.ICE_IPCSDK_Init();
            ICESDKInstance = JNADll.ICESDKInstance;
        }

    }

}
